﻿using System;
using SqlSugar;

namespace Api.Core.Model.Hotel
{
    [SugarTable("dt_hotel_RateRule")]
    public class HotelRateRuleEntity
    {
        [SugarColumn(ColumnName = "id", IsNullable = false, IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }
        /// <summary>
        /// hotel_code_list
        /// </summary>       
        [SugarColumn(ColumnName = "hotel_code_list", IsNullable = true)]
        public string HotelCodeList { get; set; }
        /// <summary>
        /// hotel_name_list
        /// </summary>       
        [SugarColumn(ColumnName = "hotel_name_list", IsNullable = true)]
        public string HotelNameList { get; set; }
        /// <summary>
        /// add_rule
        /// </summary>       
        [SugarColumn(ColumnName = "add_rule", IsNullable = true)]
        public decimal? AddRule { get; set; }
        /// <summary>
        /// price_spilt
        /// </summary>       
        [SugarColumn(ColumnName = "price_spilt", IsNullable = true)]
        public int? PriceSpilt { get; set; }
        /// <summary>
        /// price_rule_tag
        /// </summary>       
        [SugarColumn(ColumnName = "price_rule_tag", IsNullable = true)]
        public int? PriceRuleTag { get; set; }
        /// <summary>
        /// enabled
        /// </summary>       
        [SugarColumn(ColumnName = "enabled", IsNullable = true)]
        public int? Enabled { get; set; }
        /// <summary>
        /// create_date
        /// </summary>       
        [SugarColumn(ColumnName = "create_date", IsNullable = true)]
        public DateTime? CreateDate { get; set; }
        /// <summary>
        /// remark
        /// </summary>       
        [SugarColumn(ColumnName = "remark", IsNullable = true)]
        public string Remark { get; set; }

    }
}
